#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "PWM.h"

int main()
{
	OLED_Init();
	PWM_Init();
	int8_t i;
	while(1)
	{
		for(i=0;i<=100;i++)
		{
		PWM_SetComparel(i);
		Delay_ms(15);
		}
		for(i=100;i>=0;i--)
		{
		PWM_SetComparel(i);
		Delay_ms(7);
		}
	}
}

